import serice from "@/util/index.js";

export function homelink(url, method) {
    return new Promise((resolve, reject) => {
        serice.request({
            url,
            method,
        }).then((ok) => {
            resolve(ok);
        }).catch((err) => {
            reject(err);
        })
    })
}